/* 数据字典 */
import httpRequest from '@/utils/httpRequest'

// 返回帐套列表
export function getTenantBookList(data) {
    return httpRequest({
        url: '/api/admin/getTenantBookList',
        method: 'post',
        data: data,
        headers: {'Content-Type': 'application/json; charset=utf-8'}
    })
}

// 登陆
export function login(data) {
    return httpRequest({
        url: '/app/ent/login',
        method: 'post',
        data: data,
        headers: {'Content-Type': 'application/json; charset=utf-8'}
    })
}

// 修改密码
export function updatePwd(data) {
    return httpRequest({
        url: '/api/admin/updatePwd',
        method: 'post',
        data: data,
        headers: {'Content-Type': 'application/json; charset=utf-8'}
    })
}
// 发送短信
export function sendCaptcha(data) {
    return httpRequest({
        url: '/api/admin/sendCaptcha',
        method: 'post',
        data: data,
        headers: {'Content-Type': 'application/json; charset=utf-8'}
    })
}

// 运营访问控制：运营黑名单访问控制判断
export function certification(data) {
    return httpRequest({
        url: '/api/admin/certification',
        method: 'post',
        data: data,
        headers: {'Content-Type': 'application/json; charset=utf-8'}
    })
}
// 企业访问控制：租户访问控制验证
export function isLogin(data) {
    return httpRequest({
        url: '/api/admin/isLogin',
        method: 'post',
        data: data,
        headers: {'Content-Type': 'application/json; charset=utf-8'}
    })
}
// 企业认证：进行短信验证并返回帐套信息
export function enterpriseCheckPhone(data) {
    return httpRequest({
        url: '/api/admin/enterpriseCheckPhone',
        method: 'post',
        data: data,
        headers: {'Content-Type': 'application/json; charset=utf-8'}
    })
}

// 企业认证发送短信接口
export function sendSpecialCaptcha(data) {
    return httpRequest({
        url: '/api/admin/sendSpecialCaptcha',
        method: 'post',
        data: data,
        headers: {'Content-Type': 'application/json; charset=utf-8'}
    })
}
